package by.grsu.mikhailava.page.student;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.form.TextField;
import org.apache.wicket.markup.html.link.Link;
import org.apache.wicket.model.Model;

import by.grsu.mikhailava.entity.User;
import by.grsu.mikhailava.page.MyFirstWebPage;

public class StudentPage extends WebPage{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2946226308712362897L;

	@SuppressWarnings({ "rawtypes", "serial" })
	public StudentPage(User user){
		
			super();
			final Form form = new Form("form");
			add(form);
			
			form.add(new Link("cancel") {
				@Override
				public void onClick() {
					setResponsePage(MyFirstWebPage.class);
				}
			});
		
	}

}
